import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/club_list_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/club_list_entity.g.dart';

@JsonSerializable()
class ClubListEntity {
	List<ClubListList>? list;
	int? page;
	int? pageSize;
	int? total;

	ClubListEntity();

	factory ClubListEntity.fromJson(Map<String, dynamic> json) => $ClubListEntityFromJson(json);

	Map<String, dynamic> toJson() => $ClubListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class ClubListList {
	String? id;
	int? gameType;
	String? name;
	String? avatar;
	String? featureTitle;
	String? featureContent;
	String? benefit;
	int? levelId;
	int? maxMember;
	int? totalMember;
	int? todayJoin;
	int? todayQuit;
	int? todayActive;
	String? introduce;
	String? applyingReason;
	int? createdAt;
	int? applyTime;
	int? state;
	String? auditReason;
	int? auditTime;
	String? createUserId;
	String? ownerId;
	int? join;
	int? memberLevel;
	int? sort;

	ClubListList();

	factory ClubListList.fromJson(Map<String, dynamic> json) => $ClubListListFromJson(json);

	Map<String, dynamic> toJson() => $ClubListListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}